package com.youhome.service.mapper;


import com.youhome.service.model.*;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ListHubMapper {
    int deleteByPrimaryKey(String houseId);

    int deleteByBean(ListHub record);

    int insert(ListHub record);

    int insertSelective(ListHub record);

    ListHub selectByPrimaryKey(String houseId);

    ListHubBase selectBaseByPrimaryKey(String houseId);

    int updateByPrimaryKeySelective(ListHub record);

    int updateByPrimaryKeyWithBLOBs(ListHub record);

    int updateStarByPrimaryKey(ListHub record);

    int updateByPrimaryKey(ListHub record);

    List<ListHubList> selectByBean(ListHubParam param);

    List<HouseMap> selectMapByBean(ListHubParam param);

    List<ListHubList> selectRecommendHouseByCompanyId(Long companyId);

    List<ListHubList> selectFavouriteHouseByUserId(Long userId);

    List<ListHubList> selectShareGroupHouseByShareId(String shareId);

    List<ListHub> selectTest();

    List<HouseCircum> selectHouseCircumByBean(ListHubParam param);

    List<AssociateAddress> selectAssociateByAddress(String address);

    String selectZipByPrimaryKey(String houseId);

    int selectCountByZips(ListHubParam param);

    int selectCountByBean(ListHubParam param);

    List<ListHubList> selectRandByBean(ListHubParam param);

    int selectExistsByPrimaryKey(String houseId);

    String selectListingKeyByPrimaryKey(String houseId);

    int selectCountByZip(String zip);
}